# config.py

# 正确生成 Load 表字段：1 + 96 = 97 列
REQUIRED_FIELDS = {
    "Load": ["YMD"] + [f"T{str(h).zfill(2)}{str(m).zfill(2)}" for h in range(24) for m in (0, 15, 30, 45)],
    "Weather": ["YMD", "最高温度℃", "最低温度℃", "平均温度℃", "相对湿度(平均)", "降雨量（mm）"]
}

#上传的文件存的地方
UPLOAD_FOLDER = "../data/"
# 允许上传的文件后缀
ALLOWED_EXTENSIONS = {"xls", "xlsx"}

